home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / tib / inputs / siam2.ttx < prev    next >
Text File  |  1989-07-07  |  11KB  |  147 lines

  1. %SIAM name-date macros
  2. %author, title, etc., (date), pp. pages, gov't no., other
  3.  
  4. \Refstd\Citenamedate\Smallcapsaand %set general formats for reference list and citations
  5. \def\Aandd{\unskip, and }%between last two of multiple author names
  6. \def\Eandd{\unskip, and }%between last two of multiple author names
  7. \def\aandd{\unskip, and }%same for authors of reviewed material
  8. \def\eandd{\unskip, and }%same for translators
  9. \def\Tomefont{\Reffont}%redefine font
  10.  
  11. \def\journalarticleformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  12.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  13.                 \par\vfil\penalty-200\vfilneg%\filbreak
  14.                 \hangindent4em\hangafter1%
  15.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  16.        \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  17.         \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  18.          \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
  19.           \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  20.            \if\Dtest\present\unskip\hskip.16667em(\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup)\def\Comma{, }\fi%
  21.              \if\Ptest\present\Comma\bgroup\if\Pcnt\present pp.~\else p.~\fi\Pstr\egroup\def\Comma{, }\fi%
  22.               \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{, }\fi%
  23.                \if\jtest\present\if\ttest\present\Comma\else. \fi\bgroup\Tomefont\jstr\/\egroup\def\Comma{, }\fi%
  24.                 \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  25.                  \if\dtest\present\hskip.16667em(\bgroup\dstr\egroup)\def\Comma{, }\fi%
  26.                   \if\ptest\present\Comma\bgroup\if\pcnt\present pp.~\else p.~\fi\pstr\egroup\def\Comma{, }\fi%
  27.                    \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  28.                     \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  29.                      \par}
  30.  
  31. \def\conferencereportformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  32.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  33.                 \par\vfil\penalty-200\vfilneg%\filbreak
  34.                 \hangindent4em\hangafter1%
  35.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  36.        \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  37.         \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
  38.          \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  39.           \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  40.            \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  41.             \par}
  42.  
  43. \def\bookarticleformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  44.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  45.                 \par\vfil\penalty-200\vfilneg%\filbreak
  46.                 \hangindent4em\hangafter1%
  47.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  48.        \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  49.         \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  50.          \if\Btest\present\Comma in \bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip, }\fi%
  51.           \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
  52.            \if\Etest\present\Comma\bgroup\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }\fi%
  53.             \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
  54.              \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  55.               \if\Ntest\present\Comma\bgroup\Volfont\Nstr\egroup\def\Comma{, }\fi%
  56.                \if\Itest\present\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  57.                 \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  58.                  \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  59.                   \if\Ptest\present\Comma\if\Pcnt\present pp.~\else p.~\fi\Pstr\def\Comma{, }\fi%
  60.                    \if\ttest\present. \bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  61.                     \if\btest\present\Comma in \bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi%
  62.                      \if\atest\present\Comma\bgroup\astr\egroup\unskip, \if\acnt\present eds.\else ed.\fi\def\Comma{, }\fi%
  63.                       \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
  64.                        \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  65.                         \if\ntest\present\Comma\bgroup\Volfont\nstr\egroup\def\Comma{, }\fi%
  66.                          \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  67.                           \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  68.                            \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  69.                             \if\ptest\present\Comma\if\pcnt\present pp.~\else p.~\fi\pstr\def\Comma{, }\fi%
  70.                              \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  71.                               \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  72.                                \par}
  73.  
  74. \def\bookformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  75.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  76.                 \par\vfil\penalty-200\vfilneg%\filbreak
  77.                 \hangindent4em\hangafter1%
  78.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  79.            \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  80.                  \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  81.          \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\/\egroup\def\Comma{\unskip, }%
  82.                \else\if\Btest\present\Comma\bgroup\Titlefont\Bstr\/\egroup\def\Comma{\unskip, }\fi\fi%
  83.            \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
  84.             \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  85.              \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
  86.               \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  87.                \if\Ntest\present\Comma\bgroup\Volfont\Nstr\egroup\def\Comma{, }\fi%
  88.                 \if\Atest\present\if\Itest\present
  89.                         \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi%
  90.                      \else\if\Etest\present\if\Itest\present
  91.                              \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi\fi\fi%
  92.                     \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  93.                      \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  94.                       \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{, }%
  95.                             \else\if\btest\present. \bgroup\Titlefont\bstr\egroup\def\Comma{, }\fi\fi%
  96.                          \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
  97.                           \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  98.                            \if\ntest\present\Comma\bgroup\Volfont\nstr\egroup\def\Comma{, }\fi%
  99.                             \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  100.                              \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  101.                               \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  102.                                \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  103.                                 \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  104.                                  \par}
  105.  
  106. \def\technicalreportformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  107.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  108.                 \par\vfil\penalty-200\vfilneg%\filbreak
  109.                 \hangindent4em\hangafter1%
  110.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  111.            \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  112.                  \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  113.          \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  114.           \if\Atest\present\if\Itest\present
  115.                   \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  116.                \else\if\Etest\present\if\Itest\present
  117.                        \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  118.            \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
  119.             \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  120.              \if\Dtest\present\unskip\hskip.16667em(\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup)\def\Comma{, }\fi%
  121.                \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{, }\fi%
  122.                 \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  123.                  \if\rtest\present\bgroup\rstr\egroup\def\Comma{, }\fi%
  124.                   \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  125.                    \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  126.                     \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  127.                      \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  128.                       \par}
  129.  
  130. \def\otherformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  131.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  132.                 \par\vfil\penalty-200\vfilneg%\filbreak
  133.                 \hangindent4em\hangafter1%
  134.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  135.             \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  136.                  \else\if\Itest\present\bgroup\authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  137.          \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  138.            \if\Atest\present\if\Itest\present
  139.                    \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  140.                 \else\if\Etest\present\if\Itest\present
  141.                         \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  142.                 \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  143.                  \if\Dtest\present\unskip\hskip.16667em(\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup)\def\Comma{, }\fi%
  144.                   \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  145.                    \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  146.                     \par}
  147.